# -*- coding: utf-8 -*-

"""日志记录"""

import os
import sys
import time

def error(message, exit = False):
    time_ = time.strftime('%H:%M:%S')
    print('{0} ERROR:{1}{2}'.format(time_, message, "\n"))
    
    if exit:
        sys.exit()
